package com.fintech.third.model.moxie.bank;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty;

import java.math.BigDecimal;
import java.util.Date;

public class BankCardInfo {
    @JsonProperty("card_type")
    private String cardType;
    @JsonProperty("bank_name")
    private String bankName;
    @JsonProperty("full_card_num")
    private String fullCardNum;
    @JsonProperty("card_num")
    private String cardNum;
    @JsonProperty("name_on_card")
    private String nameOnCard;
    @JsonProperty("balance")
    private BigDecimal balance;
    @JsonProperty("cash_balance")
    private BigDecimal cashBalance;
    @JsonProperty("cash_limit")
    private BigDecimal cashLimit;
    @JsonProperty("credit_limit")
    private BigDecimal creditLimit;
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd'T'HH:mm:ss.SSSZ", timezone = "Asia/Shanghai")
    @JsonProperty(value = "open_time")
    private Date openTime;

    public String getCardType() {
        return cardType;
    }

    public void setCardType(String cardType) {
        this.cardType = cardType;
    }

    public String getBankName() {
        return bankName;
    }

    public void setBankName(String bankName) {
        this.bankName = bankName;
    }

    public String getFullCardNum() {
        return fullCardNum;
    }

    public void setFullCardNum(String fullCardNum) {
        this.fullCardNum = fullCardNum;
    }

    public String getCardNum() {
        return cardNum;
    }

    public void setCardNum(String cardNum) {
        this.cardNum = cardNum;
    }

    public String getNameOnCard() {
        return nameOnCard;
    }

    public void setNameOnCard(String nameOnCard) {
        this.nameOnCard = nameOnCard;
    }

    public BigDecimal getBalance() {
        return balance;
    }

    public void setBalance(BigDecimal balance) {
        this.balance = balance;
    }

    public BigDecimal getCashBalance() {
        return cashBalance;
    }

    public void setCashBalance(BigDecimal cashBalance) {
        this.cashBalance = cashBalance;
    }

    public BigDecimal getCashLimit() {
        return cashLimit;
    }

    public void setCashLimit(BigDecimal cashLimit) {
        this.cashLimit = cashLimit;
    }

    public BigDecimal getCreditLimit() {
        return creditLimit;
    }

    public void setCreditLimit(BigDecimal creditLimit) {
        this.creditLimit = creditLimit;
    }

    public Date getOpenTime() {
        return openTime;
    }

    public void setOpenTime(Date openTime) {
        this.openTime = openTime;
    }
}
